package com.atguigu.gmall.server.Impl;

import com.atguigu.gmall.bean.InteractionComment;
import com.atguigu.gmall.mapper.InteractionCMapper;
import com.atguigu.gmall.server.InteractionCService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InteractionCServiceImpl implements InteractionCService {
    @Autowired
    private InteractionCMapper interactionCMapper;
    @Override
    public List<InteractionComment> ICList(Integer date) {
        return interactionCMapper.selectInterCommentList(date);
    }
}
